package com.huangwei.model;

public class UserAddress {
    private Integer addressId;
    private String province;
    private String city;
    private String area;
    private String address;
    private Integer postCode;
    private User user;

    @Override
    public String toString() {
        return "UserAddress{" +
                "addressId=" + addressId +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", address='" + address + '\'' +
                ", postCode=" + postCode +
                ", user=" + user +
                '}';
    }

    public UserAddress(Integer addressId, String province,
                       String city, String area,
                       String address, Integer postCode,
                       User user) {
        this.addressId = addressId;
        this.province = province;
        this.city = city;
        this.area = area;
        this.address = address;
        this.postCode = postCode;
        this.user = user;
    }

    public UserAddress() {
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPostCode() {
        return postCode;
    }

    public void setPostCode(Integer postCode) {
        this.postCode = postCode;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
